<form action="{$smarty.const.BASE_URL_ADM}categorias/cadastrodb/" method="post" name="form" enctype="multipart/form-data">
	<table border="0" align="center" cellpadding="4" cellspacing="1" class="tb_cadastro">
	<tfoot>
		<tr>
			<td colspan="2">
				<input type="submit" name="submit" value="Salvar" style="float:left;" />
			</td>
		</tr>
	</tfoot>

	<tbody>
		<tr>
			<td class="label"><label for="catCodPai">Categoria Pai:</label></td>
			<td class="value">
                <select name="catCodPai" id="catCodPai">
    				<option value="">-- Selecione --</option>
                    {foreach from=$categorias item=categoria}
                        <option value="{$categoria.catCod}">{$categoria.catNom}</option>
                    {/foreach}
                </select>
            </td>
		</tr>
		<tr>
			<td class="label"><label for="catNom">Categoria:</label></td>
			<td class="value"><input name="catNom" type="text" id="catNom" size="70" value="" /></td>
		</tr>
		<tr>
			<td class="label"><label for="catImg">Imagem:</label></td>
			<td class="value"><input type="file" name="catImg" id="catImg" /></td>
		</tr>
		<tr>
			<td class="label"><label for="catSta">Status:</label></td>
			<td class="value">
				<select name="catSta" id="catSta">
                    {foreach from=$status key=k item=v}
                        <option value="{$k}">{$v}</option>
                    {/foreach}
				</select>
			</td>
		</tr>
	</tbody>
	</table>
	</form>